﻿
using System.ComponentModel;

namespace HSS.Xaml.UI.Controls
{
	/// <summary>
	/// The required interface to implement a custom PropertyGrid Editor.
	/// </summary>
	public interface IPropertyGridEditor : IEditableObject
	{
		/// <summary>
		/// Gets the <see cref="HSS.ComponentModel.HSSPropertyDescriptor"/> for this Editor
		/// </summary>
		HSS.ComponentModel.HSSPropertyDescriptor Descriptor { get; }
		/// <summary>
		/// Gets the <see cref="PropertyGridEntry"/> for this Editor
		/// </summary>
		PropertyGridEntry PropertyEntry { get; }
	}
}
